//
//  VipAddrSearchHomeController.m
//  CenturyCity
//
//  Created by nsm on 2019/6/12.
//  Copyright © 2019 beisheng. All rights reserved.
//

#import "VipAddrSearchHomeController.h"

@interface VipAddrSearchHomeController ()

@end

@implementation VipAddrSearchHomeController
@synthesize didSelectSearchItem = _didSelectSearchItem;

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.tableView beginRefreshing:RefreshHudDefault];
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
    id item = tableView.sourceManager.dataArray[indexPath.row];
    !self.didSelectSearchItem?:self.didSelectSearchItem(item);
}

#pragma mark - NSMSearchHomeProtocol
- (void)insertLocal:(id)obj {}

@end
